
/**************************/
/* Contenu global de page */
/**************************/

#content{
    width: 1000px;
    height: 610px;
    margin: auto;
    margin-top: 2%;
    background-image: url('../../assets/images/commun/commun_background1.jpg');
    background-repeat: no-repeat;
    display: block;
    padding-top:30px;
    position:relative;
    cursor: url(../../assets/images/commun/commun_mouse.png), auto;
}

#end_game{
    width: 236px;
    height: 200px;
    position: absolute;
    z-index: 100;
    top: 30%;
    left: 40%;
    display: none;
    
}

/**********************/
/* Zone d'interaction */
/**********************/

/* Zone centrale */
#zone_interaction{
    width:1000px;
    height:610px;
}

#cadre_zone_centrale{
    border: solid #FFFFFF 13px;
    width: 685px;
    height: 456px;
    margin-left:42px;
    opacity : 0.8;
    -moz-box-shadow: 0px 6px 10px #444444;
    position:absolute;
    z-index: 2;
}


/* Emplacements des items de l'Environnement 1 : chambre*/
#chambre{
    background-image: url('../../assets/images/game1/environnement1/j1e1_image_chambre.png');
    background-repeat: no-repeat;
    width: 720px;
    height: 490px;
    position: absolute;
    top: 5%;
    left: 4%;
    z-index: 1;
}

#empl_item_1_1{
    background-image: url('../../assets/images/game1/environnement1/j1e1_empl_lion.png');
    position: absolute;
    top: 347px;
    left: 580px;
    height: 117px;
    width: 82px;
    z-index: 10;
}

#empl_item_1_3{
    background-image: url('../../assets/images/game1/environnement1/j1e1_empl_dessin.png');
    position: absolute;
    top: 132px;
    left: 45px;
    height: 100px;
    width: 120px;
    z-index: 10;
}


/* Emplacements des items de l'Environnement 2 : cuisine*/
#cuisine{
    background-image: url('../../assets/images/game1/environnement2/j1e2_image_cuisine.png');
    background-repeat: no-repeat;
    width: 720px;
    height: 490px;
    position: absolute;
    top: 5.5%;
    left: 4.2%;
    z-index: 1;
}

#empl_item_2_1{
    background-image: url('../../assets/images/game1/environnement2/j1e2_empl_sac.png');
    position: absolute;
    top: 336px;
    left: 585px;
    height: 121px;
    width: 104px;    
    z-index: 10;
}

#empl_item_2_4{
    background-image: url('../../assets/images/game1/environnement2/j1e2_empl_chocapic.png');
    position: absolute;
    top: 188px;
    left: 310px;
    height: 78px;
    width: 52px;
    z-index: 10;
}


/* Emplacements des items de l'Environnement 3 : rue */

#rue{
    background-image: url('../../assets/images/game1/environnement3/j1e3_image_rue.png');
    background-repeat: no-repeat;
    width: 720px;
    height: 490px;
    position: absolute;
    top: 5.6%;
    left: 4.2%;
    z-index: 1;
}

#empl_item_3_1{
    background-image: url('../../assets/images/game1/environnement3/j1e3_empl_pub.png');
    position: absolute;
    top: 142px;
    left: 68px;
    height: 157px;
    width: 87px;    
    z-index: 10;
}

#empl_item_3_2{
    background-image: url('../../assets/images/game1/environnement3/j1e3_empl_plot.png');
    position: absolute;
    top: 346px;
    left: 95px;
    height: 88px;
    width: 78px;    
    z-index: 10;
}

#empl_item_3_4{
    background-image: url('../../assets/images/game1/environnement3/j1e3_empl_sens_interdit.png');
    position: absolute;
    top: 108px;
    left: 506px;
    height: 68px;
    width: 67px;
    z-index: 10;
}



/* Emplacements des items de l'Environnement 4 : salle de classe*/

#classe{
    background-image: url('../../assets/images/game1/environnement4/j1e4_image_classe.png');
    background-repeat: no-repeat;
    width: 720px;
    height: 490px;
    position: absolute;
    top: 5%;
    left: 4.3%;
    z-index: 1;
}


#empl_item_4_1{
    background-image: url('../../assets/images/game1/environnement4/j1e4_empl_collage.png');
    position: absolute;
    top: 5px;
    left: 128px;
    height: 97px;
    width: 108px;
    z-index: 10;
}

#empl_item_4_3{
    background-image: url('../../assets/images/game1/environnement4/j1e4_empl_alphabet.png');
    position: absolute;
    top: 20px;
    left: 286px;
    height: 75px;
    width: 124px;
    z-index: 10;
}

#empl_item_4_4{
    background-image: url('../../assets/images/game1/environnement4/j1e4_empl_globe.png');
    position: absolute;
    top: 240px;
    left: 400px;
    height: 97px;
    width: 81px;
    z-index: 10;
}


/* Zone de liste d'items */

#cadre_liste_items{
    background-color: #FFFFFF;
    opacity: 0.5;
    height: 474px;
    width: 220px;
    position: absolute;
    top: 4.9%;
    left:75.3%;
    z-index: 2;
    border: solid 5px #444444;
    border-left: none;
    border-radius: 0 15px 15px 0;
    -moz-box-shadow: 2px 2px 20px #000000;
}


/* Items de l'Environnement 1 : chambre*/
#item_1_1{
    background-image: url('../../assets/images/game1/environnement1/j1e1_item_lion.png');
    height: 142px;
    width: 102px;
    z-index: 11;
    position: absolute;
    top:7%;
    left:81%;
}

#item_1_2{
    background-image: url('../../assets/images/game1/environnement1/j1e1_item_secours.png');
    height: 75px;
    width: 190px;
    z-index: 11;
    position: absolute;
    top:35%;
    left:77%;
}

#item_1_3{
    background-image: url('../../assets/images/game1/environnement1/j1e1_item_dessin.png');
    height: 134px;
    width: 186px;
    z-index: 11;
    position: absolute;
    top: 56%;
    left: 77%;
}


/* Items de l'Environnement 2 : cuisine*/
#item_2_1{
    background-image: url('../../assets/images/game1/environnement2/j1e2_item_sac.png');
    height: 105px;
    width: 92px;
    z-index: 11;
    position: absolute;
    top: 8%;
    left: 81.5%;
}

#item_2_2{
    background-image: url('../../assets/images/game1/environnement2/j1e2_item_globe.png');
    height: 109px;
    width: 89px;
    z-index: 11;
    position: absolute;
    top: 26%;
    left: 82%;
}

#item_2_3{
    background-image: url('../../assets/images/game1/environnement2/j1e2_item_uno.png');
    height: 81px;
    width: 101px;
    z-index: 11;
    position: absolute;
    top: 46%;
    left: 81%;
}

#item_2_4{
    background-image: url('../../assets/images/game1/environnement2/j1e2_item_chocapic.png');
    height: 116px;
    width: 76px;
    z-index: 11;
    position: absolute;
    top: 60%;
    left: 83%;
}


/* Items de l'environnement 3 : rue*/

#item_3_1{
    background-image: url('../../assets/images/game1/environnement3/j1e3_item_pub.png');
    height: 114px;
    width: 65px;
    z-index: 11;
    position: absolute;
    top: 7%;
    left: 83%;
}

#item_3_2{
    background-image: url('../../assets/images/game1/environnement3/j1e3_item_plot.png');
    height: 94px;
    width: 84px;
    z-index: 11;
    position: absolute;
    top: 27%;
    left: 82.5%;
}

#item_3_3{
    background-image: url('../../assets/images/game1/environnement3/j1e3_item_teddy.png');
    height: 107px;
    width: 98px;
    z-index: 11;
    position: absolute;
    top: 45%;
    left: 81.3%;
}

#item_3_4{
    background-image: url('../../assets/images/game1/environnement3/j1e3_item_sens_interdit.png');
    height: 93px;
    width: 93px;
    z-index: 11;
    position: absolute;
    top: 63.3%;
    left: 81.4%;
}



/* Items de l'Environnement 4 : salle de classe*/

#item_4_1{
    background-image: url('../../assets/images/game1/environnement4/j1e4_item_collage.png');
    height: 79px;
    width: 100px;
    z-index: 11;
    position: absolute;
    top: 7%;
    left: 81.3%;
}

#item_4_2{
    background-image: url('../../assets/images/game1/environnement4/j1e4_item_plot.png');
    height: 80px;
    width: 71px;
    z-index: 11;
    position: absolute;
    top: 21%;
    left: 82%;
}

#item_4_3{
    background-image: url('../../assets/images/game1/environnement4/j1e4_item_alphabet.png');
    height: 73px;
    width: 135px;
    z-index: 11;
    position: absolute;
    top: 36.5%;
    left:79%;
}

#item_4_4{
    background-image: url('../../assets/images/game1/environnement4/j1e4_item_globe.png');
    height: 92px;
    width: 77px;
    z-index: 11;
    position: absolute;
    top: 48.4%;
    left: 82%;
}

#item_4_5{
    background-image: url('../../assets/images/game1/environnement4/j1e4_item_chocapic.png');
    height: 91px;
    width: 64px;
    z-index: 11;
    position: absolute;
    top: 65.6%;
    left: 82.6%;
}




/**************/
/* Zone basse */
/**************/

/* Zone de navigation */

#zone_navigation{
    position: absolute;
    left: 8%;
    top:80%;
    z-index: 9;
}

#zone_navigation a{
    width: 70px;
    height: 70px;
    background-color: #FFFFFF;
    opacity: 0.7;
    display: inline-block;
    cursor: pointer;
}

#zone_navigation a .btns_navigation{
    opacity: 1;
    margin-left: 7px;
    margin-top: 10px;
}

#btn_replay{
    margin-left: 17px;
}


/* zone de chronométrage */

#zone_chrono{
    height: 60px;
    left: 35%;
    position: absolute;
    top: 86%;
    width: 570px;
    border-radius: 20px 20px 0 0;
}

#overlay_chrono{
    opacity: 0.4;
    width: 100%;
    height: 100%;
    position: relative;
    top: 0;
    left: 0;
    border-radius: 20px 20px 0 0;
    background-color: #FFFFFF;
    display: inline-block;
}


#zone_chrono #img_horloge{
    background-image: url('../../assets/images/commun/commun_horloge.png');
    height: 34px;
    width: 35px;
    z-index: 11;
    position: absolute;
    top: 14px;
    left: 25px;
    opacity: 1;
}

#timer{
    position: absolute;
    height: 40px;
    width: 450px;
    top: 16%;
    left: 14%;
    opacity: 1;
}

#timing{
    position: relative;
    height: 100%;
    width: 0;
    top: 0;
    left: 0;
    background-color: #00FF00;
}

/* Page de récompenses */

#zone_result{
    display: none;
    background-color: #FFFFFF;
    border: 5px solid #444444;
    height: 360px;
    margin-left: 7%;
    margin-top: 8%;
    width: 860px;
}

#zone_result #pixou{
    left: -3%;
    position: absolute;
    top: 2.5%;
}

#replay_final{
    cursor: pointer;
    left: 23%;
    position: absolute;
    top: 74.2%;
    background-color: #EEEEEE;
    opacity: 0.8;
    height: 63px;
    width: 61px;
}

#action_btn_replay{
    position: relative;
    top: 9px;
    left: 4px;
}


#homepage{
    cursor: pointer;
    left: 57%;
    position: absolute;
    top: 74.2%;
    background-color: #EEEEEE;
    opacity: 0.8;
    height: 80px;
    width: 82px;
}

#action_btn_homepage{
    position: relative;
    top: 11px;
    left: 9.5px;
}

#validate{
    cursor: pointer;
    left: 45%;
    position: absolute;
    top: 18%;
}

#zone_result #coupe{
    left: 10%;
    position: absolute;
    top: 37.5%;
}

#text_equal{
    font-size: 8em;
    font-weight: bold;
    left: 23%;
    position: absolute;
    top: 37%;
    color: #444444;
}

#zone_result #images{
    height: 150px;
    left: 57%;
    position: absolute;
    top: 37%;
    width: 340px;
}

#text_plus{
    font-size: 8em;
    font-weight: bold;
    left: 47.5%;
    position: absolute;
    top: 37%;
    color: #444444;
}

#pierre{
    height: 110px;
    left: 33.5%;
    position: absolute;
    top: 39%;
    width: 110px;
}

#controller_callback{
    width: 236px;
    height: 200px;
    position: absolute;
    z-index: 100;
    top: 30%;
    left: 40%;
    display: none;
}

#img_pixou_callback_ok{
    background-color: green;
    border: solid 2px #FFFFFF;
}

#img_pixou_callback_nok{
    background-color: red;
    border: solid 2px #000000;
}
